package cn.jxufe.service;

import java.util.List;

import javax.servlet.http.HttpSession;

import cn.jxufe.bean.Message;
import cn.jxufe.entity.Farm;

public interface FarmService {

	List<Farm> list();

	void save(Farm farm);

	Message plant(int landId, int seedId, HttpSession session);

	Message killInsect(int landId, HttpSession session);

	Message harvest(int landId, HttpSession session);

	Message cleanLand(int landId, HttpSession session);

	Message addHarvest(int landId, HttpSession session);

}
